<html>
<head >
<title>Standard API Set</title>

</head>
<!--<script src="javascript/library.js"></script>-->

<script src="javascript/initializeFunction.js"></script>
<script src="javascript/initializeParameter.js"></script>
<script src="javascript/initializeStatusBits.js"></script>
<script src="javascript/initializeFileTags.js"></script>

<script src="javascript/GetSetFileTags.js"></script>
<script src="javascript/GetProductInfo.js"></script>
<script src="javascript/GetCameraStatus.js"></script>
<script src="javascript/GetCapabilities.js"></script>
<script src="javascript/GetCameraState.js"></script>
<script src="javascript/GetCameraDefault.js"></script>

<script src="javascript/SetCameraState.js"></script>
<script src="javascript/SetCameraDefault.js"></script>
<script src="javascript/RestoreCameraDefault.js"></script>

<script src="javascript/EraseFile.js"></script>
<script src="javascript/StartCapture.js"></script>
<script src="javascript/GetFileInfo.js"></script>
<script src="javascript/GetStorageStatus.js"></script>
<script src="javascript/GetSystemFile.js"></script>



<script LANGUAGE="JavaScript1.1">
var paramTagArray=dc220;		// by default
var theCamera="Kodak DC220";	// by default
var fileTagArray=f260;			// by default
</script>

<p>

<form name="cameraList">
&nbsp;&nbsp;
<b>Select Camera:</b><br>

<select name="cameraSelection" onChange="selectCamera(this)">
<option selected>Kodak DC220
<option>Kodak DC260
<option>Minolta EX1500
</select>
<p>
</form>

<script>

function ftest1()
{
  printf("ftest1")
}

function ftest2()
{
  for(i=0;i<10;i++)
   printf("ftest1"+i)

}

</script>

<form>
   
<!--
<input type = button WIDTH=200  VALUE="Test1" onClick="cls(); ftest1()">
<input type = button WIDTH=200  VALUE="Test2" onClick="cls(); ftest2()">
<input type = button WIDTH=200  VALUE="CLS" onClick="cls() ">
-->

<input type = button WIDTH=200  VALUE="List Camera Parameters" onClick="cls(); displayCapabilities(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetProductInfo" onClick="cls(); GetProductInfo(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCameraStatus" onClick="cls();  GetCameraStatus(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCapabilityType" onClick="cls(); GetCapabilityType(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCapabilitiesRange "	onClick="cls(); GetCapabilitiesRange(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCapabilitiesCount "onClick="cls(); GetCapabilitiesCount(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCapabilitiesListItem"	onClick="cls(); GetCapabilitiesListItem(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCapabilitiesValue "	onClick="cls(); GetCapabilitiesValue(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCameraState "onClick="cls(); GetCameraState(paramTagArray)">
<input type = button WIDTH=200  VALUE="SetCameraState"onClick="cls(); SetCameraState(paramTagArray)">
<input type = button WIDTH=200  VALUE="GetCameraDefault"onClick="cls(); GetCameraDefault(paramTagArray)">

<input type = button WIDTH=200  VALUE="SetCameraDefault"onClick="cls(); SetCameraDefault(paramTagArray)">
<!--
<input type = button WIDTH=200  VALUE="RestoreCameraDefault"onClick="cls(); RestoreCameraDefault(paramTagArray)">
<br>
-->
<input type = button WIDTH=200  VALUE="StartCapture(still)"onClick="cls(); StartCapture(still)">
<input type = button WIDTH=200  VALUE="StartCapture(timelapse)"	onClick="cls(); StartCapture(timelapse)">
<input type = button WIDTH=200  VALUE="StartCapture(group)"onClick="cls(); StartCapture(group)">
<br>  
<input type = button WIDTH=200  VALUE="GetFileInfo"	onClick="cls(); GetFileInfo()"> <br>
<input type = button WIDTH=200  VALUE="GetNewFileInfo"	onClick="cls(); GetNewFileInfo()"><br>
<input type = button WIDTH=200  VALUE="EraseFile" onClick="cls(); EraseFile()"><br>
<input type = button WIDTH=200  VALUE="GetStorageStatus" onClick="cls(); GetStorageStatus()">
<input type = button WIDTH=200  VALUE="SetUserFileTag  "onClick="cls(); SetUserFileTag(fileTagArray)"><br>
<input type = button WIDTH=200  VALUE="GetFileTag" onClick="cls(); GetFileTags(fileTagArray)"><br>
<input type = button WIDTH=200  VALUE="GetSystemFileCount" onClick="cls(); GetSystemFileCount()">
<input type = button WIDTH=200  VALUE="GetSystemFileName" onClick="cls(); GetSystemFileName()">

</form>

</html>
